package com.edu.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class ChartingRecords {

	private int chartingRecords_id;
	private String sendUsername;
	private String reciveusername;
	private String message; 
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date send_at;
	public int getChartingRecords_id() {
		return chartingRecords_id;
	}
	public void setChartingRecords_id(int chartingRecords_id) {
		this.chartingRecords_id = chartingRecords_id;
	}
	
	public String getSendUsername() {
		return sendUsername;
	}
	public void setSendUsername(String sendUsername) {
		this.sendUsername = sendUsername;
	}
	public String getReciveusername() {
		return reciveusername;
	}
	public void setReciveusername(String reciveusername) {
		this.reciveusername = reciveusername;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Date getSend_at() {
		return send_at;
	}
	public void setSend_at(Date send_at) {
		this.send_at = send_at;
	}

	public ChartingRecords(String sendUsername, String reciveusername, String message, Date send_at) {
		super();
		this.sendUsername = sendUsername;
		this.reciveusername = reciveusername;
		this.message = message;
		this.send_at = send_at;
	}
	public ChartingRecords() {
		super();
	}
	@Override
	public String toString() {
		return "ChartingRecords [chartingRecords_id=" + chartingRecords_id + ", sendUsername=" + sendUsername
				+ ", reciveusername=" + reciveusername + ", message=" + message + ", send_at=" + send_at + "]";
	}
	
}
